Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new TutorAgent and its prompt template #13

Merged
merged 3 commits into from
Aug 1, 2024
Merged

Conversation

SmartManoj
Copy link
Owner

@SmartManoj SmartManoj commented Aug 1, 2024

Resolves All-Hands-AI#2955 by @rezzie-rich

  • agent.yaml

    • Define the new agent with the name TutorAgent
    • Add a description for the agent focusing on educational explanations and interactive tutoring
    • Specify inputs for the codebase and questions
    • Specify outputs for explanations
  • prompt.md

    • Create a prompt template for the agent
    • Focus on educational explanations and interactive tutoring
    • Include instructions for parsing the source code and generating human-readable explanations
    • Provide a format for user interaction through a chat interface

Copilot Workspace session

* **agent.yaml**
  - Define the new agent with the name `OpenDTutorAgent`
  - Add a description for the agent focusing on educational explanations and interactive tutoring
  - Specify inputs for the codebase and questions
  - Specify outputs for explanations

* **prompt.md**
  - Create a prompt template for the agent
  - Focus on educational explanations and interactive tutoring
  - Include instructions for parsing the source code and generating human-readable explanations
  - Provide a format for user interaction through a chat interface
@SmartManoj
Copy link
Owner Author

@CodiumAI-Agent /review

@CodiumAI-Agent
Copy link

PR Reviewer Guide 🔍

⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ No key issues to review

@SmartManoj SmartManoj changed the base branch from kevin to main August 1, 2024 06:45
@SmartManoj SmartManoj changed the title Add new OpenDTutorAgent and its prompt template Add new TutorAgent and its prompt template Aug 1, 2024
@SmartManoj SmartManoj merged this pull request into main Aug 1, 2024
23 checks passed
@SmartManoj
Copy link
Owner Author

SmartManoj commented Aug 2, 2024

Prompt: How recursion works in Python? | Event history


Before cloning

Prompt: summarize https://github.com/shreyashankar/create-ml-app | Event history Feedback: Should clone if empty
It used RepoExplorerAgent

Prompt: summarize https://github.com/shreyashankar/create-ml-app | Event history Feedback: Should clone as URL is given
It used RepoExplorerAgent and StudyRepoForTaskAgent


After manual cloning:

Prompt: summarize https://github.com/shreyashankar/create-ml-app | Event history
It used RepoExplorerAgent

Prompt: how train function works in main.py? | Event history
It used StudyRepoForTaskAgent


Prompt: replace chroma db with pinecone | Event history
It used RepoExplorerAgent and CoderAgent

@SmartManoj SmartManoj deleted the add-open-d-tutor branch August 4, 2024 03:13
@SmartManoj
Copy link
Owner Author

Moved this agent to add-tutor-agent branch for smooth integration with upstream for integration tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

open-D-tutor
3 participants